package com.caseProcess.service.impl;

import com.caseProcess.entity.VCaseProcInfo;
import com.caseProcess.mapper.VCaseProcInfoDao;
import com.caseProcess.service.VCaseProcInfosService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class VCaseProcInfosServiceImpl implements VCaseProcInfosService {
    @Resource
    VCaseProcInfoDao vCaseProcInfoDao;
    @Override
    public List<VCaseProcInfo> selectVCaseProcInfos(VCaseProcInfo vCaseProcInfo) {
        return vCaseProcInfoDao.selectVCaseProcInfos(vCaseProcInfo);
    }

    @Override
    public List<VCaseProcInfo> selectVCaseProcInfosBy(VCaseProcInfo vCaseProcInfo) {
        return vCaseProcInfoDao.selectVCaseProcInfosBy(vCaseProcInfo);
    }

    @Override
    public List<VCaseProcInfo> selectCPInfos(String procDepartmentId) {
        return vCaseProcInfoDao.selectCPInfos(procDepartmentId);
    }

    @Override
    public List<VCaseProcInfo> selectByFactor(VCaseProcInfo vCaseProcInfo, String startTime, String endTime, long procTatus) {
        return vCaseProcInfoDao.selectByFactor(vCaseProcInfo,startTime,endTime,procTatus);
    }

}
